/*
 *      net-sim - networkProtocols
 *
 * 		N2N3Indication.java
 *
 *      Copyright 23/12/2008 nicolas
 *
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 3 of the License, or
 *      (at your option) any later version.
 *
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */
package networkProtocols;


/**
 * The Class N2N3Indication.
 */
public class N2N3Indication  {

  /** The Constant FRAME_RECEIVED. */
  public static final byte FRAME_RECEIVED = 0x01;

  /** The Constant LINK_DOWN. */
  public static final byte LINK_DOWN = 0x02;

  /** The Constant LINK_UP. */
  public static final byte LINK_UP = 0x03;

  /** The control. */
  byte control;

  /** The info. */
  byte[] info;

  /**
   * Instantiates a new n2 n3 indication.
   *
   * @param ctl the ctl
   * @param cnt the cnt
   */
  public N2N3Indication(byte ctl, byte[] cnt) {
    control = ctl;
    info = cnt;
  }

  /**
   * Gets the control.
   *
   * @return the control
   */
  public byte getControl() {return control;}

  /**
   * Gets the info.
   *
   * @return the info
   */
  public byte[] getInfo() {return info;}

}
